/**
 * 检验结果右键菜单选项
 */
export function rptResultRightMenus(proxy: any, callback: any) {
  return {
    body: {
      options: [
        [
          {
            code: 'reload',
            name: '刷新',
            prefixIcon: 'vxe-icon-refresh',
            disabled: false
          },
          {
            code: 'insertAt',
            name: '新增',
            prefixIcon: 'vxe-icon-square-plus-fill',
            disabled: false
          },
          {
            code: 'remove',
            name: '删除',
            prefixIcon: 'vxe-icon-square-close-fill',
            disabled: false
          },
          {
            code: 'template',
            name: '模板',
            prefixIcon: 'vxe-icon-file-markdown',
            disabled: false
          },
          {
            code: 'transiqc',
            name: '转质控',
            prefixIcon: 'vxe-icon-chart-bar-y',
            disabled: false
          },
          {
            code: 'knowledgeBase',
            name: '知识库',
            prefixIcon: 'vxe-icon-folder-open',
            disabled: false
          }
        ]
      ]
    }
  };
};

/**
 * wkltByHis右键菜单选项
 */
export function wkltByHisRightMenus(proxy: any, callback: any) {
  return {
    body: {
      options: [
        [
          {
            code: 'knowledgeBase',
            name: '知识库',
            prefixIcon: 'vxe-icon-folder-open',
            disabled: false
          }
        ]
      ]
    }
  };
};
/**
 * LabMainInfoColumns.js
 * 功能描述：输出工作列表table展示列宽、顺序的基础模板
 */

export function LabRptResultColumns() {
  const temp = [
    { fieldCode: 'itemNo', fieldName: '项目', fieldDescription: '项目', columnWidth: '160', displayOrder: 'a00010', isVisiable: true, isFix: true, isortable: false },
    { fieldCode: 'testResult', fieldName: '结果', fieldDescription: '结果', columnWidth: '90', displayOrder: 'a00020', isVisiable: true, isFix: true, isortable: false },
    { fieldCode: 'ref', fieldName: '参考范围', fieldDescription: '参考范围', columnWidth: '100', displayOrder: 'a00030', isVisiable: true, isFix: true, isortable: false },
    { fieldCode: 'instrNa', fieldName: '仪器', fieldDescription: '仪器', columnWidth: '110', displayOrder: 'a00040', isVisiable: true, isFix: true, isortable: false },
    { fieldCode: 'rawData', fieldName: '原始结果', fieldDescription: '原始结果', columnWidth: '100', displayOrder: 'a00050', isVisiable: true, isFix: true, isortable: false },
    { fieldCode: 'feeCode', fieldName: '申请项目', fieldDescription: '申请项目', columnWidth: '100', displayOrder: 'a00060', isVisiable: true, isFix: true, isortable: true }
  ];
  return temp;
}

